package com.sunda.spmsoversea.enums;

/**
 * @author waynewu
 */

public enum OverseaWhsInEnum {

    /** 入库任务状态(默认0待入库;1入库中;2入库完成;3审批通过;4提交SAP成功;5提交SAP失败;6已撤销;7关闭;) */
    OVERSEA_WHS_IN_WAITING("0", "待到货", "Waiting."),
    OVERSEA_WHS_IN_RECEIVING("1", "收货中", "Receiving."),
    OVERSEA_WHS_IN_COMPLETE("2", "入库完成", "Warehousing Complete."),
    OVERSEA_WHS_IN_APPROVE("3", "审批通过", "Approved."),
    OVERSEA_WHS_IN_SUBMIT_SAP("4", "提交SAP成功", "Submit SAP Success."),
    OVERSEA_WHS_IN_SUBMIT_SAP_ERROR("5", "提交SAP失败", "Submit SAP Failed."),
    OVERSEA_WHS_IN_CANCEL("6", "已撤销", "Cancel."),
    OVERSEA_WHS_IN_CLOSE("7", "已关闭", "Closed."),
    OVERSEA_WHS_IN_GO_BACK("-1", "退回单据", "Whs In Task Go Back."),
    OVERSEA_WHS_IN_REJECT("-2", "审批不通过", "Rejected."),
    OVERSEA_WHS_IN_INIT("98", "创建入库任务", "Whs In Task Init."),
    OVERSEA_WHS_IN_UPDATE("99", "入库任务更新", "Whs In Task Update."),
    OVERSEA_WHS_IN_CANCEL_ERROR("97", "撤销错误", "Cancel Error.");

    private String code;
    private String descZh;
    private String descEn;

    OverseaWhsInEnum(String code, String descZh, String descEn) {
        this.code = code;
        this.descZh = descZh;
        this.descEn = descEn;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescZh() {
        return descZh;
    }

    public void setDescZh(String descZh) {
        this.descZh = descZh;
    }

    public String getDescEn() {
        return descEn;
    }

    public void setDescEn(String descEn) {
        this.descEn = descEn;
    }
}
